<template>
	<!-- 添加车位 -->
	<view class="addParkingLost">
		<uni-steps class="steps" :options="list1" :active="active" active-color="#026cfd" />
		<view class="selects">
			<view class="item-content">
				<view class="row"><text>小区</text>
					<navigator url="../../myHouse/addHouse/selectCell/selectCell" hover-class="navigator-hover">
						<text>请选择</text><text class="iconfont icon-you"></text>
					</navigator>
				</view>
				<view class="row"><text>车位区域</text>
					<navigator url="./parkingRegion/parkingRegion" hover-class="navigator-hover">
						<text>请选择</text><text class="iconfont icon-you"></text>
					</navigator>
				</view>
				<view class="row"><text>车位编号</text>
					<navigator url="./parkingNum/parkingNum" hover-class="navigator-hover">
						<text>请选择</text><text class="iconfont icon-you"></text>
					</navigator>
				</view>
				<view class="row"><text>车位类型</text>
					<uni-data-checkbox v-model="radio1" :localdata="sex"></uni-data-checkbox>
				</view>
				<view class="row"><text>绑定车辆</text>
					<navigator url="./bindCar/bindCar" hover-class="navigator-hover">
						<text>请选择要绑定的车辆</text>
						<text class="iconfont icon-you"></text>
					</navigator>
				</view>
			</view>
			<view class="defails-item">
				<view class="item-title">
					<text>住户信息</text>
				</view>
				<view class="item-content host">
					<view class="row"><text>住户姓名</text><text>蒋依依</text></view>
					<view class="row"><text>手机号码</text><text>15619009090</text></view>
				</view>
			</view>
		</view>
		
		<!-- 提交审核 -->
		<navigator url="../myParkingLot" hover-class="navigator-hover">
			<view class="addParkingLost">
				提交审核
			</view>
		</navigator>

	</view>

</template>


<script>
	export default {
		components: {},
		data() {
			return {
				active: 0,
				list1: [{
					title: '车位信息'
				}, {
					title: '物业审核'
				}, {
					title: '认证成功'
				}],
				classes: '0',
				radio1: 0,
				sex: [{
					text: '私有',
					value: 0
				}, {
					text: '租赁',
					value: 1
				}],
			}
		},
		methods: {
			switch1Change: function(e) {
				console.log('switch1 发生 change 事件，携带值为', e.detail.value)
			},
			onnodeclick(e) {
				console.log(e);
			},
			onpopupopened(e) {
				console.log('popupopened');
			},
			onpopupclosed(e) {
				console.log('popupclosed');
			},
			onchange(e) {
				console.log('onchange:', e);
			}
		},
	}
</script>

<style lang="less" scoped>
	@import url('../../../static/font/iconfont.css');

	.addParkingLost {
		.selects {
			padding-left: 38rpx;
			padding-right: 38rpx;
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			border-radius: 10rpx;
			margin-bottom: 42rpx;
			border-top: 1px solid #eee;
			border-bottom: 1px solid #eee;

			.item-content {
				width: 100%;
				display: flex;
				flex-direction: column;
				align-items: flex-start;

				.row {
					display: flex;
					width: 100%;
					justify-content: flex-start;
					padding: 30rpx 0;
					border-bottom: 1px solid #eee;

					text:nth-child(1) {
						text-align: left;
						width: 230rpx;
						font-size: 32rpx;
					}

					// text:nth-child(1) {
					// 	font-size: 28rpx;
					// }
					navigator,
					.row-tanchu {
						flex: 1;
						align-items: center;
						display: flex;
						justify-content: space-between;

						text:nth-child(1) {
							width: 260rpx;
							font-size: 28rpx;
							color: #a8a8a8;
							text-align: left;
						}
					}
				}

				.row:last-child {
					border: 0px;
				}

			}
			.defails-item {
				width: 100%;
				// padding-top: 40rpx;
				// padding-left: 38rpx;
				// padding-right: 38rpx;
				margin-top: 30rpx;
				display: flex;
				flex-direction: column;
				align-items: flex-start;
				// border-radius: 10rpx;
				margin-bottom: 42rpx;
				// box-shadow: 0px 0px 15rpx rgba(0, 0, 0, .2);
			
				.item-title {
					display: flex;
					margin-bottom: 30rpx;
					align-items: center;
					justify-content: flex-start;
			
					view {
						width: 16rpx;
						height: 34rpx;
						background-color: #056cff;
						border-radius: 8rpx;
					}
			
					text {
						// margin-left: 20rpx;
						font-size: 32rpx;
			
					}
				}
			
				.item-content {
					width: 100%;
					display: flex;
					flex-direction: column;
					align-items: flex-start;
			
					.row {
						display: flex;
						width: 100%;
						justify-content: flex-start;
						padding: 30rpx 0;
						border-bottom: 1px solid #eee;
			
						text:nth-child(1) {
							color: #a8a8a8;
							text-align: left;
							width: 170rpx;
						}
			
					}
			
					.row:last-child {
						border: 0px;
					}
			
				}
			
				.host {
					.row {
						text:nth-child(1) {
							width: 200rpx;
						}
					}
				}
			}
		}

		.addParkingLost {
			width: 670rpx;
			height: 82rpx;
			text-align: center;
			line-height: 82rpx;
			background-color: #006fff;
			color: white;
			font-size: 34rpx;
			border-radius: 10rpx;
			position: absolute;
			left: 38rpx;
			bottom: 30rpx;
		}

	}
</style>
<style lang="less">
	.addParkingLost {
		.uni-steps {
			margin: 60rpx auto;

			.uni-icons {
				font-size: 40rpx !important;
			}
		}

		.input-value-border {
			border: 0px !important;
		}

		.input-value {
			padding: 0px !important;

		}

		.placeholder {
			color: #a8a8a8 !important;
			font-size: 32rpx !important;
		}

		.input-arrow {
			display: none;
		}

		.tab-c {
			height: 200rpx !important;
		}

		.selected-list {
			height: 0px !important;

		}

		.item-text-overflow {
			width: 100% !important;
			text-align: center;
		}
	}
</style>
